/**
 * 
 */
package com.orange.cepmanagerweb.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Dida
 *
 */
@Entity
@Table (name = "Phone")
public class Phone {
	
	@Id
	@Column(name="id", nullable=false)
	private String id;
	
	@Column(name = "name")
	private String name;
	
	@Column(name = "status")
	private String status;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public String toString() {
			        StringBuffer sb = new StringBuffer();
			        sb.append("Id: ").append(getId());
			        sb.append(" - Name: ").append(getName());
			        sb.append(" - Status: ").append(getStatus());
			        return sb.toString();
			    }

}
